package dr.server.impl.sms.submail;

import dr.common.ResultModel;
import dr.common.utils.SubmailSendUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SubMailService {

    @Autowired
    SubmailSendUtils submailSendUtils;

    public ResultModel sendSms(String to, String messageOrTemplate, String param) {
        return submailSendUtils.sendNote(to, messageOrTemplate);
    }
}
